package cn.aitrox.ry.service.config.mapper;


import cn.aitrox.ry.service.config.entity.LesionEntity;
import com.github.abel533.mapper.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LesionMapper extends Mapper<LesionEntity> {
    String maxValue();

    List<LesionEntity> findByCond(@Param("likeName")String likeName, @Param("valueList")List<String> valueList, @Param("parentId")Integer parentId);

    List<LesionEntity> findByParenIds(@Param("parentIds")List<Integer> parentIds);

    void batchInsert(@Param("list") List<LesionEntity> list);

    List<LesionEntity> findByValues(@Param("valueList")List<String> valueList);

    void deleteByParentId(@Param("parentId") Integer parentId);

    List<LesionEntity> findByNames(@Param("nameList") List<String> nameList);
}
